//
//  HLNormalArrowModel.h
//  s.
//
//  Created by fanshijian on 2022/9/5.
//  Copyright © 2022 J. All rights reserved.
//

#import "BaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface NormalArrowModel : BaseModel

@property (strong, nonatomic) NSString *icon;

/// title font
@property (strong, nonatomic) UIFont *tf;
/// 字符串、 NSAttribute
@property (copy, nonatomic, nullable) id title;
@property (strong, nonatomic) NSString *tColor;
@property (nonatomic) NSTextAlignment textAlignment;
@property (copy, nonatomic, nullable) JYMakerBlock titleMakerBlock;

// 背景色
@property (nonatomic, strong, nullable) NSString *color;

// 右侧文本显示属性
@property (strong, nonatomic) UIFont *right_tf;
@property (strong, nonatomic) NSString *right_tColor;
@property (strong, nonatomic) UIColor *right_tCor;
@property (nonatomic) NSTextAlignment right_textAlignment;

@property (strong, nonatomic, nullable) id desc;
@property (strong, nonatomic, nullable) id value;
@property (assign, nonatomic) NSInteger type;
// 键盘类型 默认数字键盘
@property (assign, nonatomic) UIKeyboardType keyboardType;
@property (copy, nonatomic) id changedBlock;

@property (assign, nonatomic) BOOL hiddenArrow;
@property (assign, nonatomic) BOOL hiddenLine;
@property (assign, nonatomic) BOOL banTF;
@property (assign, nonatomic) BOOL isPassword;

// 是否禁止交互 
@property (nonatomic, assign) BOOL banInteraction;
+ (NormalArrowModel *)createTitle:(id)title size:(CGSize)size hiddenArrow:(BOOL)hiddenArrow;
+ (NormalArrowModel *)createTitle:(id)title size:(CGSize)size hiddenArrow:(BOOL)hiddenArrow action:(NSDictionary * __nullable)action;
+ (NormalArrowModel *)createTitle:(id)title type:(NSInteger)type size:(CGSize)size hiddenArrow:(BOOL)hiddenArrow action:(NSDictionary * __nullable)action;
+ (NormalArrowModel *)createTitle:(id)title type:(NSInteger)type size:(CGSize)size cell:(NSString * __nullable)cell hiddenArrow:(BOOL)hiddenArrow action:(NSDictionary * __nullable)action;

@end

NS_ASSUME_NONNULL_END
